Starting with v0.103.0, Trilium has a custom video player which offers more features than the built-in video player.

Versions prior to v0.103.0 also support videos, but using the built-in player.

The file is streamed directly, so when accessing the note from a server it doesn't have to download the entire video to start playing it.

Note on large video files

Although Trilium offers support for videos, it is generally not meant to be used with very large files. Uploading large videos will cause the  Database to balloon as well as the any Backup of it. In addition to that, there might be slowdowns when first uploading the files. Otherwise, a large database should not impact the general performance of Trilium significantly.

Supported formats

Trilium uses the built-in video decoding mechanism of the browser (or Electron/Chromium when running on the desktop). Starting with v0.103.0, a message will be displayed instead when a video format is not supported.

Interactions

To play/pause the video, simply click anywhere on the video.

The controls at the bottom will hide automatically after playing, simply move the mouse to show them again.

The bottom bar has the following features:

Keyboard shortcuts

The following keyboard shortcuts are supported by the video player:

Space Play/pause
Left arrow key Go back by 10s
Right arrow key Go forward by 10s
Ctrl + Left arrow key Go back by 1 min
Ctrl + Right arrow key Go right by 1 min
F Toggle full-screen
M Mute/unmute
Home Go to the beginning of the video
End Go to the end of the video
Up Increase volume by 5%
Down Decrease volume by 5%